/*
 * WinnerAlphamon.java
 *
 * Created on 21. november 2007, 15:15
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package hotgammon.domain;

/**
 *
 * @author nick
 */
public class WinnerAlphamon implements Winner {
    private Dice dice;
    
    /** Creates a new instance of WinnerAlphamon */
    public WinnerAlphamon(Dice dice) {
        this.dice = dice;
    }
    
    public Color winner() {
        if (dice.getNumThrown() >= 6 ) return Color.RED;
        return Color.NONE;
    }
}
